


class Datatime {
	private int year;
	private int month;
	private int day;
	public Datatime(int year,int month,int day){
		this.year=year;
		this.month=month;
		this.setDay(day);
	}
	public int getyear(){
		return year;
	}
	public void setyear(int year){
		this.year=year;
	}
	public int getmonth(){
		return month;
	}
	public void setmonth(int month){
		this.month=month;
	}
	public int getday(){
		return year;
	}
	public void setday(int day){
		this.setDay(day);
	}
	public String toString(){
		return year+"--"+month+"--"+year;
	}
	public int getDay() {
		return day;
	}
	public void setDay(int day) {
		this.day = day;
	}
	
}